package pers.qianyu.module.security.enums;

/**
 * @author mizzle rain
 * @date 2021-05-03 21:51
 */
public enum ResourceTypeEnums {
    NEED("需要访问控制", 1),
    NOT_NEED("不需要访问控制", 0),
    ;
    private String name;
    private Integer code;

    ResourceTypeEnums(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public Integer getCode() {
        return code;
    }
}
